﻿using Volo.Abp.Domain.Entities;

namespace CommonManagement
{
    /// <summary>
    /// 商品类
    /// </summary>
    public class Product : BasicAggregateRoot<int>
    {
        /// <summary>商品名</summary>
        public string Name { get; protected set; }

        /// <summary>价格</summary>
        public decimal Price { get; protected set; }

        /// <summary>所需积分</summary>
        public int Score { get; protected set; }

        /// <summary>封面</summary>
        public string Cover { get; protected set; }

        /// <summary>总数量</summary>
        public int Total { get; protected set; }

        /// <summary>销量</summary>
        public int SaleQuantity { get; protected set; }

        /// <summary>详情</summary>
        public string Description { get; protected set; }

        private Product() { }
    }
}